package com.hst.capacity.domain.model.entity.franchisee;


import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "fm_franchisee")//加盟商
public class FranchiseeEntity extends BaseEntity {

  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idFranchisee;
  private String code;
  private String shortName;
  private String fullName;
  private String organizationName;
  private String address;
  private String province;
  private String district;
  private String regionCode;
  private String administrativeCode;
  private String location;
  private Float lon;
  private Float lat;
  private String serviceNo;
  private String organizationNo;
  private String emergencyCall;
  private String site;
  private String responseiblename;
  private String orgResponseiblename;
  private String responseiblephone;
  private String orgResponseiblephone;
  private String contact;
  private String mobile;
  private String fax;
  private String email;
  private String tel1;
  private String tel2;
  private String officeAddress;
  private String organizationAddress;
  private Date createDate;
  private String logo;
  private Integer scale;
  private String memo;
  private Integer intercityRole;
  private Integer tranFlag;
  private Integer scPassengerMesPush;
  private Integer icPassengerMesPush;
  private Integer icDriverMesPush;
  private Integer expressRole;
  private Integer justRemindPush;
  private Integer airportRole;
  private String idAirport;
  private Integer zcRole;
  private Integer registerSwitch;

}
